import '@/assets/css/index.less'
import 'normalize.css'
import { createApp } from 'vue'
import App from './App.vue'
import { globalRegister } from './global'
import router from './router'
import store from './store'

const app = createApp(App)
// 插件注册
app.use(globalRegister)
app.use(store)
app.use(router)
// 刷新时候获取，持久化
store.dispatch('login/initState')
app.mount('#app')
